home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-09-28 | 2.9 KB | 140 lines | [TEXT/MPS ] |
- /*
- File: AppShell.r
-
- Contains: xxx put contents here xxx
-
- Version: xxx put version here xxx
-
- Copyright: © 1999 by Apple Computer, Inc., all rights reserved.
-
- File Ownership:
-
- DRI: xxx put dri here xxx
-
- Other Contact: xxx put other contact here xxx
-
- Technology: xxx put technology here xxx
-
- Writers:
-
- (BWS) Brent Schorsch
-
- Change History (most recent first):
-
- <SP1> 7/1/99 BWS first checked in
- */
-
- #Include "Controls.r"
- #include "MacTypes.r"
- #Include "Menus.r"
-
- #Include "::Source:AppShellResources.h"
- Include ":AppShell.rsrc";
-
- resource 'MBAR' (kMBAR_Main)
- {
- {
- kMENU_Apple,
- kMENU_File,
- kMENU_Edit
- }
- };
-
- resource 'MENU' (kMENU_Apple, "About Menu")
- {
- kMENU_Apple,
- kMenuStdMenuProc,
- 0xFFFFFFFD,
- enabled,
- apple,
-
- {
- "About ISp_Sample…", noIcon, noKey, noMark, plain;
- "-", noIcon, noKey, noMark, plain;
- }
- };
-
- resource 'MENU' (kMENU_File, "File Menu")
- {
- kMENU_File,
- kMenuStdMenuProc,
- 0xFFFFFFFF,
- enabled,
- "File",
-
- {
- "Start Game", noIcon, "N", noMark, plain;
- "Configure Input", noIcon, "K", noMark, plain;
- "-", noIcon, noKey, noMark, plain;
- "Quit", noIcon, "Q", noMark, plain;
- }
- };
-
- resource 'MENU' (kMENU_Edit, "Edit Menu")
- {
- kMENU_Edit,
- kMenuStdMenuProc,
- 0xFFFFFFFD,
- enabled,
- "Edit",
-
- {
- "Undo", noIcon, "Z", noMark, plain;
- "-", noIcon, noKey, noMark, plain;
- "Cut", noIcon, "X", noMark, plain;
- "Copy", noIcon, "C", noMark, plain;
- "Paste", noIcon, "V", noMark, plain;
- "Clear", noIcon, noKey, noMark, plain;
- }
- };
-
- resource 'xmnu' (kMENU_Apple, "Apple Menu")
- {
- versionZero
- {
- {
- dataItem { kMenuCMD_AboutBox, kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph },
- }
- }
- };
-
- resource 'xmnu' (kMENU_File, "File Menu")
- {
- versionZero
- {
- {
- dataItem { kMenuCMD_StartGame, kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph },
- dataItem { kMenuCMD_ConfigureInput, kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph },
- skipItem { },
- dataItem { kMenuCMD_Quit, kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph }
- }
- }
- };
-
- resource 'xmnu' (kMENU_Edit, "Edit Menu")
- {
- versionZero
- {
- {
- dataItem { kMenuCMD_Undo, kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph },
- skipItem { },
- dataItem { kMenuCMD_Cut, kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph },
- dataItem { kMenuCMD_Copy, kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph },
- dataItem { kMenuCMD_Paste, kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph },
- dataItem { kMenuCMD_Clear, kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph }
- }
- }
- };
-
- resource 'STR#' (kSTRn_AboutBoxStrings, "About Box Strings")
- {
- {
- "InputSprocket Sample Application";
-
- "by Brent Schorsch\n"
- "\n"
- "special thanks to Chris DeSalvo\n"
- "©1998"
- }
- };
-